package com.swift.authority.common.annotation;

import java.lang.annotation.*;

/**
 * @author Administrator
 * @description :
 * @date 2022/06/19 13:41
 * @since open jdk 1.8
 */
@Target(value = ElementType.METHOD)
@Documented
@Retention(value = RetentionPolicy.RUNTIME)
public @interface TokenAuthority {
    /**
     * 是否校验token，默认开启
     */
    boolean token() default true;

    /**
     * 是否校验sign,默认关闭
     */
    boolean sign() default false;
}

